import time

from selenium import webdriver
from selenium.webdriver.chrome.service import Service


# 指明服务驱动路径
seriver = Service(executable_path="D:\chromedriver.exe")

# 打开浏览器
driver = webdriver.Chrome(service=seriver)
# 最大化
driver.maximize_window()


time.sleep(10)
# # 退出浏览器
driver.quit()


